<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="Public/css/api.css" />
		<style>
		    body,html{
		    	height:100%;
		    	background:#f7f7f7;
		    }
			.li_box li{
				padding:10px 14px;
				overflow: hidden;
				border-bottom:1px solid #eaeaea;
				background:#fff;
				height:20px;
				line-height:20px;
			}
			
			.li_box li .right_content{
				float:right;
				font-size:14px;
			}
			
			.li_box li .right_arrow{
				background:url(Public/img/rback.png) no-repeat center center;
				background-size:20px;
				float:right;
				width:20px;
				height:20px;
			}
			
			.li_box li:nth-child(1){
				height:40px;
				line-height:40px;
			}
			.li_box li .left_title{
				float:left;
				font-size:14px;
			}
			.li_box li:nth-child(1) img{
				border-radius: 3px;
				float:right;
			}
			
			
		</style>
	</head>
	<body>
		<ul class="li_box">
			<li>
				<span class="left_title">头像</span>
				<img src="<?php echo ($user["pic_headimg"]); ?>" width="40px" height="40px" />
			</li>
			<li>
				<span class="left_title">ID</span>
				<span class="right_content"><?php echo ($user["snatchid"]); ?></span>
			</li>
			<li>
				<span class="left_title">昵称</span>
				<span class="right_content"><?php echo ($user["name"]); ?></span>
			</li>
			<li>
				<span class="left_title">手机号码</span>
				<span class="right_content"><?php echo ($user["phone"]); ?></span>
			</li>
			<li onclick="openAL()">
				<span class="left_title" >我的收货地址</span>
				<span class="right_arrow"></span>
			</li>
		</ul>
		<script>
			function openAL(){
			
				window.location.href="index.php?c=index&a=addresslist";
			}
		</script>
	</body>
</html>